////////////////////////////////////////////////////////////////////////////////
// Filename: L_dx11vertexbuffer.h
////////////////////////////////////////////////////////////////////////////////
#ifndef _L_DX11VERTEXBUFFER_H_
#define _L_DX11VERTEXBUFFER_H_

#include <D3DX11.h>

class L_DX11VertexBuffer
{
	ID3D11Buffer* Buffer;
	unsigned int Size;
	bool Static;
public:
	L_DX11VertexBuffer();
	~L_DX11VertexBuffer();

	bool Init(ID3D11Device* Device, void* Data, unsigned int tSize, bool tStatic);
	bool Update(ID3D11DeviceContext* DeviceContext, void* Data, unsigned int tSize, unsigned int Offset);
	void Release();

	ID3D11Buffer* GetBuffer();
	unsigned int GetSize();
};

#endif